package com.example.course.bean;

public class Course {
    private Integer id;
    private String course;
    private String mainImage;
    private String beginTime;
    private String endTime;
    private String time;
    private String detail;
    private Integer number;

    public Course(Integer id, String course, String mainImage, String beginTime, String endTime, String time, String detail, Integer number) {
        this.id = id;
        this.course = course;
        this.mainImage = mainImage;
        this.beginTime = beginTime;
        this.endTime = endTime;
        this.time = time;
        this.detail = detail;
        this.number = number;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCourse() {
        return course;
    }

    public void setCourse(String course) {
        this.course = course;
    }

    public String getMainImage() {
        return mainImage;
    }

    public void setMainImage(String mainImage) {
        this.mainImage = mainImage;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Course() {
    }
}
